[INFO] cloning repository https://github.com/ArcStatic/prion
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ArcStatic/prion" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArcStatic%2Fprion", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArcStatic%2Fprion'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ec7c38c4b970db363205d7f3899c3dd09ae2ee46
[INFO] checking ArcStatic/prion against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArcStatic%2Fprion" "/workspace/builds/worker-12/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ArcStatic/prion on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ArcStatic/prion
[INFO] finished tweaking git repo https://github.com/ArcStatic/prion
[INFO] tweaked toml for git repo https://github.com/ArcStatic/prion written to /workspace/builds/worker-12/source/Cargo.toml
[INFO] crate git repo https://github.com/ArcStatic/prion already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c40765ce4b8a73b5a8b4a7d7f3a468737d479a715b7c92565b9edbbb37142a5d
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "c40765ce4b8a73b5a8b4a7d7f3a468737d479a715b7c92565b9edbbb37142a5d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c40765ce4b8a73b5a8b4a7d7f3a468737d479a715b7c92565b9edbbb37142a5d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c40765ce4b8a73b5a8b4a7d7f3a468737d479a715b7c92565b9edbbb37142a5d", kill_on_drop: false }`
[INFO] [stdout] c40765ce4b8a73b5a8b4a7d7f3a468737d479a715b7c92565b9edbbb37142a5d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 18e7ca7ade3df47bdd8889fb1fa17b79028b97bdfff6bb9c404f23b707c52b21
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "18e7ca7ade3df47bdd8889fb1fa17b79028b97bdfff6bb9c404f23b707c52b21", kill_on_drop: false }`
[INFO] [stderr]    Compiling glob v0.2.11
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]    Compiling libloading v0.4.3
[INFO] [stderr]     Checking cfg-if v0.1.2
[INFO] [stderr]    Compiling winapi v0.3.4
[INFO] [stderr]    Compiling bindgen v0.32.3
[INFO] [stderr]     Checking peeking_take_while v0.1.2
[INFO] [stderr]     Checking memchr v2.0.1
[INFO] [stderr]     Checking memchr v1.0.2
[INFO] [stderr]     Checking which v1.0.3
[INFO] [stderr]     Checking iovec v0.1.2
[INFO] [stderr]     Checking subprocess v0.1.12
[INFO] [stderr]     Checking pelite v0.4.0
[INFO] [stderr]     Checking proc-macro2 v0.2.2
[INFO] [stderr]     Checking log v0.4.1
[INFO] [stderr]     Checking unreachable v1.0.0
[INFO] [stderr]     Checking bytes v0.4.6
[INFO] [stderr]     Checking nom v3.2.1
[INFO] [stderr]     Checking aho-corasick v0.6.4
[INFO] [stderr]     Checking thread_local v0.3.5
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]     Checking quote v0.4.2
[INFO] [stderr]     Checking regex v0.2.5
[INFO] [stderr]    Compiling clang-sys v0.21.1
[INFO] [stderr]     Checking cexpr v0.2.2
[INFO] [stderr]     Checking env_logger v0.4.3
[INFO] [stderr]     Checking prion v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]   --> src/main.rs:29:14
[INFO] [stdout]    |
[INFO] [stdout] 29 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]    |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 | use winapi::um::winuser::{MB_OK, MessageBoxW};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 32 | use winapi::um::winbase::{CREATE_SUSPENDED, DETACHED_PROCESS, CREATE_NEW_PROCESS_GROUP, LPCONTEXT};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 | use winapi::um::libloaderapi::{GetModuleHandleW, GetProcAddress};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 34 | use winapi::um::processthreadsapi::{CreateProcessW, LPPROCESS_INFORMATION, PROCESS_INFORMATION, STARTUPINFOW};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 | use winapi::shared::minwindef::{FALSE, DWORD, HINSTANCE__, LPVOID};
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 | use winapi::shared::basetsd::{SIZE_T};
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 | use winapi::shared::winerror::{HRESULT_FROM_WIN32};
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 | use winapi::um::memoryapi::{VirtualFreeEx, VirtualAllocEx, WriteProcessMemory};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 | use winapi::um::errhandlingapi::{GetLastError};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:41:13
[INFO] [stdout]    |
[INFO] [stdout] 41 | use winapi::um::winnt::{MEM_COMMIT, MEM_RESERVE, MEM_RELEASE, PAGE_EXECUTE_READWRITE, CONTEXT};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes`
[INFO] [stdout]   --> src/main.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 | use winapi::ctypes::c_void;
[INFO] [stdout]    |             ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]   --> src/main.rs:29:14
[INFO] [stdout]    |
[INFO] [stdout] 29 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]    |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 | use winapi::um::winuser::{MB_OK, MessageBoxW};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 32 | use winapi::um::winbase::{CREATE_SUSPENDED, DETACHED_PROCESS, CREATE_NEW_PROCESS_GROUP, LPCONTEXT};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 | use winapi::um::libloaderapi::{GetModuleHandleW, GetProcAddress};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 34 | use winapi::um::processthreadsapi::{CreateProcessW, LPPROCESS_INFORMATION, PROCESS_INFORMATION, STARTUPINFOW};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 | use winapi::shared::minwindef::{FALSE, DWORD, HINSTANCE__, LPVOID};
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 | use winapi::shared::basetsd::{SIZE_T};
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 | use winapi::shared::winerror::{HRESULT_FROM_WIN32};
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 | use winapi::um::memoryapi::{VirtualFreeEx, VirtualAllocEx, WriteProcessMemory};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 | use winapi::um::errhandlingapi::{GetLastError};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:41:13
[INFO] [stdout]    |
[INFO] [stdout] 41 | use winapi::um::winnt::{MEM_COMMIT, MEM_RESERVE, MEM_RELEASE, PAGE_EXECUTE_READWRITE, CONTEXT};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes`
[INFO] [stdout]   --> src/main.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 | use winapi::ctypes::c_void;
[INFO] [stdout]    |             ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PROCESS_INFORMATION` in this scope
[INFO] [stdout]   --> src/main.rs:98:22
[INFO] [stdout]    |
[INFO] [stdout] 98 |     let mut proc_info = PROCESS_INFORMATION {
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `STARTUPINFOW` in this scope
[INFO] [stdout]    --> src/main.rs:114:25
[INFO] [stdout]     |
[INFO] [stdout] 114 |     let mut startup_info : STARTUPINFOW = unsafe { mem::zeroed() };
[INFO] [stdout]     |                            ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `STARTUPINFOW` in this scope
[INFO] [stdout]    --> src/main.rs:115:35
[INFO] [stdout]     |
[INFO] [stdout] 115 |     startup_info.cb = mem::size_of::<STARTUPINFOW>() as DWORD;
[INFO] [stdout]     |                                      ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/main.rs:115:54
[INFO] [stdout]     |
[INFO] [stdout] 115 |     startup_info.cb = mem::size_of::<STARTUPINFOW>() as DWORD;
[INFO] [stdout]     |                                                         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateProcessW` in this scope
[INFO] [stdout]    --> src/main.rs:119:7
[INFO] [stdout]     |
[INFO] [stdout] 119 |                         CreateProcessW (null_mut(),
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> src/main.rs:122:35
[INFO] [stdout]     |
[INFO] [stdout] 122 |                                         null_mut(), null_mut(), FALSE,
[INFO] [stdout]     |                                                                 ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CREATE_SUSPENDED` in this scope
[INFO] [stdout]    --> src/main.rs:126:11
[INFO] [stdout]     |
[INFO] [stdout] 126 |                                         CREATE_SUSPENDED,
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope
[INFO] [stdout]    --> src/main.rs:140:8
[INFO] [stdout]     |
[INFO] [stdout] 140 |                             GetModuleHandleW (mod_handle_str.as_ptr())
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope
[INFO] [stdout]    --> src/main.rs:161:8
[INFO] [stdout]     |
[INFO] [stdout] 161 |                             GetProcAddress (mod_handle, unmap_i8 as *const i8)
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFreeEx` in this scope
[INFO] [stdout]    --> src/main.rs:178:7
[INFO] [stdout]     |
[INFO] [stdout] 178 |                         VirtualFreeEx (
[INFO] [stdout]     |                         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> src/main.rs:180:24
[INFO] [stdout]     |
[INFO] [stdout] 180 |                             mal_img_base as LPVOID,
[INFO] [stdout]     |                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope
[INFO] [stdout]    --> src/main.rs:183:46
[INFO] [stdout]     |
[INFO] [stdout] 183 |                             nt_head.OptionalHeader.SizeOfImage as SIZE_T,
[INFO] [stdout]     |                                                                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_RELEASE` in this scope
[INFO] [stdout]    --> src/main.rs:184:8
[INFO] [stdout]     |
[INFO] [stdout] 184 |                             MEM_RELEASE
[INFO] [stdout]     |                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]    --> src/main.rs:191:5
[INFO] [stdout]     |
[INFO] [stdout] 191 |                 GetLastError()
[INFO] [stdout]     |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAllocEx` in this scope
[INFO] [stdout]    --> src/main.rs:196:7
[INFO] [stdout]     |
[INFO] [stdout] 196 |                         VirtualAllocEx (
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> src/main.rs:198:24
[INFO] [stdout]     |
[INFO] [stdout] 198 |                             mal_img_base as LPVOID,
[INFO] [stdout]     |                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope
[INFO] [stdout]    --> src/main.rs:199:46
[INFO] [stdout]     |
[INFO] [stdout] 199 |                             nt_head.OptionalHeader.SizeOfImage as SIZE_T,
[INFO] [stdout]     |                                                                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_COMMIT` in this scope
[INFO] [stdout]    --> src/main.rs:200:8
[INFO] [stdout]     |
[INFO] [stdout] 200 |                             MEM_COMMIT | MEM_RESERVE,
[INFO] [stdout]     |                             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_RESERVE` in this scope
[INFO] [stdout]    --> src/main.rs:200:21
[INFO] [stdout]     |
[INFO] [stdout] 200 |                             MEM_COMMIT | MEM_RESERVE,
[INFO] [stdout]     |                                          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope
[INFO] [stdout]    --> src/main.rs:201:8
[INFO] [stdout]     |
[INFO] [stdout] 201 |                             PAGE_EXECUTE_READWRITE
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]    --> src/main.rs:206:5
[INFO] [stdout]     |
[INFO] [stdout] 206 |                 GetLastError()
[INFO] [stdout]     |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WriteProcessMemory` in this scope
[INFO] [stdout]    --> src/main.rs:211:7
[INFO] [stdout]     |
[INFO] [stdout] 211 |                         WriteProcessMemory (
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> src/main.rs:213:44
[INFO] [stdout]     |
[INFO] [stdout] 213 |                             nt_head.OptionalHeader.ImageBase as LPVOID,
[INFO] [stdout]     |                                                                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> src/main.rs:214:22
[INFO] [stdout]     |
[INFO] [stdout] 214 |                             mal_buf[0] as LPVOID,
[INFO] [stdout]     |                                           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope
[INFO] [stdout]    --> src/main.rs:215:48
[INFO] [stdout]     |
[INFO] [stdout] 215 |                             nt_head.OptionalHeader.SizeOfHeaders as SIZE_T,
[INFO] [stdout]     |                                                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]    --> src/main.rs:222:5
[INFO] [stdout]     |
[INFO] [stdout] 222 |                 GetLastError()
[INFO] [stdout]     |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WriteProcessMemory` in this scope
[INFO] [stdout]    --> src/main.rs:239:8
[INFO] [stdout]     |
[INFO] [stdout] 239 |                             WriteProcessMemory (
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> src/main.rs:241:75
[INFO] [stdout]     |
[INFO] [stdout] 241 |                                 (mal_img_base + u64::from(section_head[index].VirtualAddress)) as LPVOID,
[INFO] [stdout]     |                                                                                                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> src/main.rs:242:69
[INFO] [stdout]     |
[INFO] [stdout] 242 |                                 mal_buf[(section_head[index].PointerToRawData) as usize] as LPVOID,
[INFO] [stdout]     |                                                                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope
[INFO] [stdout]    --> src/main.rs:243:46
[INFO] [stdout]     |
[INFO] [stdout] 243 |                                 section_head[index].SizeOfRawData as SIZE_T,
[INFO] [stdout]     |                                                                      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> src/main.rs:295:62
[INFO] [stdout]     |
[INFO] [stdout] 295 |     println!("mal_img_base as LPVOID:\n{:?}\n", mal_img_base as LPVOID);
[INFO] [stdout]     |                                                                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PROCESS_INFORMATION` in this scope
[INFO] [stdout]   --> src/main.rs:98:22
[INFO] [stdout]    |
[INFO] [stdout] 98 |     let mut proc_info = PROCESS_INFORMATION {
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `STARTUPINFOW` in this scope
[INFO] [stdout]    --> src/main.rs:114:25
[INFO] [stdout]     |
[INFO] [stdout] 114 |     let mut startup_info : STARTUPINFOW = unsafe { mem::zeroed() };
[INFO] [stdout]     |                            ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `STARTUPINFOW` in this scope
[INFO] [stdout]    --> src/main.rs:115:35
[INFO] [stdout]     |
[INFO] [stdout] 115 |     startup_info.cb = mem::size_of::<STARTUPINFOW>() as DWORD;
[INFO] [stdout]     |                                      ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/main.rs:115:54
[INFO] [stdout]     |
[INFO] [stdout] 115 |     startup_info.cb = mem::size_of::<STARTUPINFOW>() as DWORD;
[INFO] [stdout]     |                                                         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateProcessW` in this scope
[INFO] [stdout]    --> src/main.rs:119:7
[INFO] [stdout]     |
[INFO] [stdout] 119 |                         CreateProcessW (null_mut(),
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> src/main.rs:122:35
[INFO] [stdout]     |
[INFO] [stdout] 122 |                                         null_mut(), null_mut(), FALSE,
[INFO] [stdout]     |                                                                 ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CREATE_SUSPENDED` in this scope
[INFO] [stdout]    --> src/main.rs:126:11
[INFO] [stdout]     |
[INFO] [stdout] 126 |                                         CREATE_SUSPENDED,
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope
[INFO] [stdout]    --> src/main.rs:140:8
[INFO] [stdout]     |
[INFO] [stdout] 140 |                             GetModuleHandleW (mod_handle_str.as_ptr())
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope
[INFO] [stdout]    --> src/main.rs:161:8
[INFO] [stdout]     |
[INFO] [stdout] 161 |                             GetProcAddress (mod_handle, unmap_i8 as *const i8)
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFreeEx` in this scope
[INFO] [stdout]    --> src/main.rs:178:7
[INFO] [stdout]     |
[INFO] [stdout] 178 |                         VirtualFreeEx (
[INFO] [stdout]     |                         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> src/main.rs:180:24
[INFO] [stdout]     |
[INFO] [stdout] 180 |                             mal_img_base as LPVOID,
[INFO] [stdout]     |                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope
[INFO] [stdout]    --> src/main.rs:183:46
[INFO] [stdout]     |
[INFO] [stdout] 183 |                             nt_head.OptionalHeader.SizeOfImage as SIZE_T,
[INFO] [stdout]     |                                                                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_RELEASE` in this scope
[INFO] [stdout]    --> src/main.rs:184:8
[INFO] [stdout]     |
[INFO] [stdout] 184 |                             MEM_RELEASE
[INFO] [stdout]     |                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]    --> src/main.rs:191:5
[INFO] [stdout]     |
[INFO] [stdout] 191 |                 GetLastError()
[INFO] [stdout]     |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAllocEx` in this scope
[INFO] [stdout]    --> src/main.rs:196:7
[INFO] [stdout]     |
[INFO] [stdout] 196 |                         VirtualAllocEx (
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> src/main.rs:198:24
[INFO] [stdout]     |
[INFO] [stdout] 198 |                             mal_img_base as LPVOID,
[INFO] [stdout]     |                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope
[INFO] [stdout]    --> src/main.rs:199:46
[INFO] [stdout]     |
[INFO] [stdout] 199 |                             nt_head.OptionalHeader.SizeOfImage as SIZE_T,
[INFO] [stdout]     |                                                                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_COMMIT` in this scope
[INFO] [stdout]    --> src/main.rs:200:8
[INFO] [stdout]     |
[INFO] [stdout] 200 |                             MEM_COMMIT | MEM_RESERVE,
[INFO] [stdout]     |                             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_RESERVE` in this scope
[INFO] [stdout]    --> src/main.rs:200:21
[INFO] [stdout]     |
[INFO] [stdout] 200 |                             MEM_COMMIT | MEM_RESERVE,
[INFO] [stdout]     |                                          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope
[INFO] [stdout]    --> src/main.rs:201:8
[INFO] [stdout]     |
[INFO] [stdout] 201 |                             PAGE_EXECUTE_READWRITE
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]    --> src/main.rs:206:5
[INFO] [stdout]     |
[INFO] [stdout] 206 |                 GetLastError()
[INFO] [stdout]     |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WriteProcessMemory` in this scope
[INFO] [stdout]    --> src/main.rs:211:7
[INFO] [stdout]     |
[INFO] [stdout] 211 |                         WriteProcessMemory (
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> src/main.rs:213:44
[INFO] [stdout]     |
[INFO] [stdout] 213 |                             nt_head.OptionalHeader.ImageBase as LPVOID,
[INFO] [stdout]     |                                                                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> src/main.rs:214:22
[INFO] [stdout]     |
[INFO] [stdout] 214 |                             mal_buf[0] as LPVOID,
[INFO] [stdout]     |                                           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope
[INFO] [stdout]    --> src/main.rs:215:48
[INFO] [stdout]     |
[INFO] [stdout] 215 |                             nt_head.OptionalHeader.SizeOfHeaders as SIZE_T,
[INFO] [stdout]     |                                                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]    --> src/main.rs:222:5
[INFO] [stdout]     |
[INFO] [stdout] 222 |                 GetLastError()
[INFO] [stdout]     |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WriteProcessMemory` in this scope
[INFO] [stdout]    --> src/main.rs:239:8
[INFO] [stdout]     |
[INFO] [stdout] 239 |                             WriteProcessMemory (
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> src/main.rs:241:75
[INFO] [stdout]     |
[INFO] [stdout] 241 |                                 (mal_img_base + u64::from(section_head[index].VirtualAddress)) as LPVOID,
[INFO] [stdout]     |                                                                                                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> src/main.rs:242:69
[INFO] [stdout]     |
[INFO] [stdout] 242 |                                 mal_buf[(section_head[index].PointerToRawData) as usize] as LPVOID,
[INFO] [stdout]     |                                                                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope
[INFO] [stdout]    --> src/main.rs:243:46
[INFO] [stdout]     |
[INFO] [stdout] 243 |                                 section_head[index].SizeOfRawData as SIZE_T,
[INFO] [stdout]     |                                                                      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> src/main.rs:295:62
[INFO] [stdout]     |
[INFO] [stdout] 295 |     println!("mal_img_base as LPVOID:\n{:?}\n", mal_img_base as LPVOID);
[INFO] [stdout]     |                                                                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/main.rs:94:80
[INFO] [stdout]    |
[INFO] [stdout] 94 |     let mut legit_path: Vec<u16> = OsStr::new("C:\\windows\\system32\\lsass.exe").encode_wide().chain(once(0)).collect();
[INFO] [stdout]    |                                                                                   ^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/main.rs:95:87
[INFO] [stdout]    |
[INFO] [stdout] 95 |     let mut mal_path: Vec<u16> = OsStr::new("C:\\Users\\Emily\\Documents\\mal\\mal.exe").encode_wide().chain(once(0)).collect();
[INFO] [stdout]    |                                                                                          ^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]    --> src/main.rs:137:84
[INFO] [stdout]     |
[INFO] [stdout] 137 |     let mut mod_handle_str: Vec<u16> = OsStr::new("C:\\Windows\\System32\\ntdll.dll").encode_wide().chain(once(0)).collect();
[INFO] [stdout]     |                                                                                       ^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/main.rs:94:80
[INFO] [stdout]    |
[INFO] [stdout] 94 |     let mut legit_path: Vec<u16> = OsStr::new("C:\\windows\\system32\\lsass.exe").encode_wide().chain(once(0)).collect();
[INFO] [stdout]    |                                                                                   ^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/main.rs:95:87
[INFO] [stdout]    |
[INFO] [stdout] 95 |     let mut mal_path: Vec<u16> = OsStr::new("C:\\Users\\Emily\\Documents\\mal\\mal.exe").encode_wide().chain(once(0)).collect();
[INFO] [stdout]    |                                                                                          ^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]    --> src/main.rs:137:84
[INFO] [stdout]     |
[INFO] [stdout] 137 |     let mut mod_handle_str: Vec<u16> = OsStr::new("C:\\Windows\\System32\\ntdll.dll").encode_wide().chain(once(0)).collect();
[INFO] [stdout]     |                                                                                       ^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 46 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 46 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `prion`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "18e7ca7ade3df47bdd8889fb1fa17b79028b97bdfff6bb9c404f23b707c52b21", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "18e7ca7ade3df47bdd8889fb1fa17b79028b97bdfff6bb9c404f23b707c52b21", kill_on_drop: false }`
[INFO] [stdout] 18e7ca7ade3df47bdd8889fb1fa17b79028b97bdfff6bb9c404f23b707c52b21
